import { BrowserRouter as Router, Routes, Route } from 'react-router-dom'

import Home from '../views/Home'
import Music from '../views/Music'

function RouterView() {
    return (
        <Router>
            <Routes>
                <Route path="/" element={<Home />}></Route>
                <Route path="/music" element={<Music />}></Route>
            </Routes>
        </Router>
    )
}
export default RouterView